// /*
//  * @Author: Jone XIn
//  * @Date: 2022-01-23 23:08:50
//  * @LastEditTime: 2022-01-23 23:10:23
//  * @Description: 
//  */

// const fs = require('fs');

// const binnerData = fs.readFileSync('./test.json');
// console.log(binnerData);
// fs.writeFileSync('./aaa.json', Buffer.from(binnerData), 'binary');

const path = require('path');

let p_path = "X:/sync_program/sync_client/test/n/a";
console.log(p_path);
// let a = p_path.replace(/\\(?!\\)/g, '2')
// console.log(a, '----', p_path);
// console.log(/[A-z]/.test(p_path));
// // let a = path.
//     console.log(a);
// console.log(path.basename(p_path));